org.eclipse.vtp.desktop.projects.core
Interface IWebServiceSet

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IVoiceToolsResource
All Known Implementing Classes:
WebServiceSet

public interface IWebServiceSet
extends IVoiceToolsResource

This interface represents the folder resource of an application project that contains the web service configuration information file and folder resources.

Since:
2.1
Version:
1.0
Author:
Lonnie Pryor

Method Summary
 IWebService createWebService(java.lang.String name, java.net.URL wsdlFile)
          Creates a new web service folder resource with the given name.
 void deleteWebService(IWebService webService)
          Removes the given web service from this application.
 IWebService getWebService(java.lang.String name)
          Returns the web service with the specified name.
 java.util.List getWebServices()
          Returns the list of IWebServices that are defined in this application project.
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource
addRefreshListener, deferEvents, getName, getParent, getProject, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getWebServices

java.util.List getWebServices()
Returns the list of IWebServices that are defined in this application project.

Returns:
The list of IWebServices that are defined in this application project.

getWebService

IWebService getWebService(java.lang.String name)
Returns the web service with the specified name.

Parameters:
name - The name of the web service to return.
Returns:
The web service with the specified name.

createWebService

IWebService createWebService(java.lang.String name,
                             java.net.URL wsdlFile)
                             throws org.eclipse.core.runtime.CoreException
Creates a new web service folder resource with the given name. The web service will initially contain the web service port definitions.

Parameters:
name - The name of the web service folder resource.
wsdlFile - The WSDL resource that describes the web service.
Returns:
The newly created web service folder resource.
Throws:
org.eclipse.core.runtime.CoreException - If an error occurred during the creation of the required file or folder resources of the web service definition.

deleteWebService

void deleteWebService(IWebService webService)
                      throws org.eclipse.core.runtime.CoreException
Removes the given web service from this application. This will also remove all web service port definitions contained by the web service folder resource.

Parameters:
webService - The web service definition to remove.
Throws:
org.eclipse.core.runtime.CoreException - If an error occurred during the deletion of the required file or folder resources of the web service definition.